package com.yu.crm.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author ct
 * @since 2020-06-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class CrmManageAttachment implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 园区区域管理表id
     */
    @TableField("area_manage_id")
    private Long areaManageId;

    /**
     * 附件表id
     */
    @TableField("attachment_id")
    private Long attachmentId;

    /**
     * 0:未选点  1:已选点
     */
    @TableField("is_flag")
    private Integer isFlag;

    /**
     * 标记类型 1摄像头 2其他
     */
    @TableField("is_type")
    private Integer isType;


    /**
     * 创建人
     */
    @TableField("create_user_id")
    private String createUserId;

    /**
     * 创建时间
     */
    @TableField("gmt_create")
    private LocalDateTime gmtCreate;

    /**
     * 是否已删除，默认0，0未删除，1已删除
     */
    @TableField("is_deleted")
    private Integer isDeleted;


}
